package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2024-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TEquip对象", description="设备表")
public class TEquip implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "设备编号")
    private String bn;

    @ApiModelProperty(value = "设备名称")
    private String na;

    @ApiModelProperty(value = "类型标签（采用“大类,小类,t特征”的格式方便筛选）")
    private String tp;

    @ApiModelProperty(value = "设备描述")
    private String remark;

    @ApiModelProperty(value = "设备成本")
    private Long ecost;

    @ApiModelProperty(value = "配套成本")
    private Long pcost;

    @ApiModelProperty(value = "投用日期")
    private Date udate;

    @ApiModelProperty(value = "日折旧")
    private Double depr;
    private Double dpm;//月开天数

    private Double aep;//平均功率

    @ApiModelProperty(value = "作业面积")
    private String ar;

    @ApiModelProperty(value = "日租金")
    private Double rt;

    @ApiModelProperty(value = "归属部门编号")
    private Integer oid;

    @ApiModelProperty(value = "部门名称")
    private String belong;

    @ApiModelProperty(value = "场地id")
    private Integer sid;

    @ApiModelProperty(value = "场地编号")
    private String sbn;

    private Date date;

    private String eid;//格式json 表示该设备对应的操作员工（多个）的姓名和id
}
